
<template>
<van-config-provider :theme-vars="themeVars">
  <div class="sdy-header"></div>
    <SdyContainer></SdyContainer>
    <SdyFooter v-if="!$route.meta.hidFooter"></SdyFooter>
  </van-config-provider>
</template>

<script setup lang="ts">
// 导入全局配置的组件
import { themeVars } from '@/config/theme'
// 导入头部，中间，底部的组件
import SdyHeader from '@/views/SdyHeader/index.vue'
import SdyContainer from '@/views/SdyContainer/index.vue'
import SdyFooter from '@/views/SdyFooter/index.vue'
// 拿到路由相关信息（这里要拿到路由元）
import { useRoute } from 'vue-router'
import type { RouteLocationNormalizedLoaded} from 'vue-router'
const $route: RouteLocationNormalizedLoaded = useRoute()

</script>
<style scoped>

</style>
